<template>
    <div>
        home page
        <h1>{{query}}</h1>
    </div>
</template>
<script>
export default {
  //参数不存在对象时
  data(){
    return {
        query:''
    }
  },
created() {
   this.query=this.$route.params.a
    console.log('000, ',this.$route.params.a)
  },


    
}
</script>
<style lang="">
    
</style>